package com.tedu.day05mybatis.mapper;

import com.tedu.day05mybatis.pojo.Weibo;
import com.tedu.day05mybatis.pojo.WeiboVo1;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WeiboMapper {
  /* // @Select("SELECT content,created FROM weibo WHERE id=#{id}")
    Weibo SelectContent(int id);
   Weibo SelectContent(int id);*/
    WeiboVo1 selectContent(int id);

   /*int insert(Weibo weibo);

   int deleteById(Integer id);

   int updateById(Weibo weibo);


   Weibo findById(Integer id);

   List<Weibo>findAll(Integer id);*/


   //动态SQL
   int dynamicUpdate(Weibo weibo);


   int deleteByIds(int[] id);



}
